interface ObjGroup {
    readonly name: string,
    age: number,
    sex?: string,
}
let objName: ObjGroup = {
    name: '张三',
    age: 21,
    sex: '男'

}
// let objName1: ObjGroup = {
//     name: '李四',
//     age: 34
// }

let objName1: { name: string, age: number, sex?: string, [propName: string]: any };
objName1 = {
    name: 'zheshu',
    age: 18,
    sex: 'nan',
}

export {
    objName1,
}